﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Web_consultant.Models
{
    public class Test
    {
        public string NameTest { get; set; }
        public List<Question> Questions { get; set; }

        public Test(string name)
        {
            NameTest = name;
            Questions = new List<Question>();
        }

        public Test()
        {
            Questions = new List<Question>();
        }
    }

    public class Question
    {
        public string Quest { get; set; }
        public List<string> Answers { get; set; }

        public Question()
        {
            Answers = new List<string>();
        }
        public Question(string name)
        {
            Quest = name;
            Answers = new List<string>();
        }
    }
}